package spring;

import lombok.Data;

@Data
public class Pig {
    private String name;

    public void test2(Pig pig){
        System.out.println(pig.getName()+"哇哇");

    }

}
